package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;


@Controller
public class TemplatesController {

    //登录页
    @GetMapping("login")
    public String login(){
        return "login";
    }

    //首页
    @GetMapping("index")
    public String index(){
        return "index";
    }

    //医生
    @GetMapping("doctor/add")
    public String doctorAdd(){
        return "doctor/add";
    }

    @GetMapping("doctor/edit")
    public String doctorEdit(){
        return "doctor/edit";
    }

    @GetMapping("doctor/index")
    public String doctorIndex(){
        return "doctor/index";
    }

    @GetMapping("doctor/look")
    public String doctorLook(){
        return "doctor/look";
    }

    //菜单资源管理
    @GetMapping("resource/index")
    public String resourceIndex(){
        return "Resource/index";
    }

    @GetMapping("resource/edit")
    public String resourceEdit(){
        return "Resource/edit";
    }

    @GetMapping("resource/add")
    public String resourceAdd(){
        return "Resource/add";
    }

    //用户管理
    @GetMapping("user/index")
    public String userIndex(){
        return "User/index";
    }

    @GetMapping("user/editUser")
    public String userEdit(){
        return "User/editUser";
    }

    @GetMapping("user/addUser")
    public String userAdd(){
        return "User/addUser";
    }

    @GetMapping("user/password")
    public String userPassword(){
        return "User/password";
    }

    //角色管理
    @GetMapping("role/index")
    public String roleIndex(){
        return "Role/index";
    }

    @GetMapping("role/editRole")
    public String roleEdit(){
        return "Role/editRole";
    }

    @GetMapping("role/addRole")
    public String roleAdd(){
        return "Role/addRole";
    }

    //营业额
    @GetMapping("depart/index")
    public String departIndex(){
        return "depart/index";
    }

    @GetMapping("depart/index2")
    public String departIndex2(){
        return "depart/index2";
    }

    //收费项目管理
    @GetMapping("hospital/charge")
    public String charge(){
        return "hospital/charge";
    }

    @GetMapping("hospital/charge-new")
    public String chargeNew(){
        return "hospital/charge-new";
    }

    @GetMapping("hospital/charge-edit1")
    public String chargeEdit1(){
        return "hospital/charge-edit1";
    }

    //检查收费项目登记
    @GetMapping("hospital/charge2")
    public String charge2(){
        return "hospital/charge2";
    }

    //药品管理
    @GetMapping("medicine/index")
    public String medicineIndex(){
        return "medicine/index";
    }

    @GetMapping("medicine/add")
    public String medicineAdd(){
        return "medicine/add";
    }

    @GetMapping("medicine/look")
    public String medicineLook(){
        return "medicine/look";
    }

    @GetMapping("medicine/add_medicine")
    public String medicineAddMedicine(){
        return "medicine/add_medicine";
    }

    //在院发药
    @GetMapping("hospital/dispensing")
    public String dispensing(){
        return "hospital/dispensing";
    }

    //住院结算
    @GetMapping("hospital/account")
    public String account(){
        return "hospital/account";
    }

    @GetMapping("hospital/account-look")
    public String account_look(){
        return "hospital/account-look";
    }

    @GetMapping("hospital/account-look2")
    public String account_look2(){
        return "hospital/account-look2";
    }


    //住院办理
    @GetMapping("hospital/index")
    public String hospitalIndex(){
        return "hospital/index";
    }

    @GetMapping("hospital/add")
    public String hospitalAdd(){
        return "hospital/add";
    }

    @GetMapping("hospital/look")
    public String hospitalLook(){
        return "hospital/look";
    }

    @GetMapping("hospital/edit")
    public String hospitalEdit(){
        return "hospital/edit";
    }

    @GetMapping("hospital/add_many")
    public String hospitalAddMany(){
        return "hospital/add_many";
    }

    @GetMapping("hospital/dispensing-give")
    public String hospitalDispensingGive(){
        return "hospital/dispensing-give";
    }

    @GetMapping("hospital/dispensing-look")
    public String hospitalDispensingLook(){
        return "hospital/dispensing-look";
    }

    @GetMapping("hospital/dispensing-gives")
    public String hospitalDispensingGives(){
        return "hospital/dispensing-gives";
    }

    //挂号信息管理
    @GetMapping("registration/index")
    public String registrationIndex(){
        return "registration/index";
    }

    @GetMapping("registration/add")
    public String registrationAdd(){
        return "registration/add";
    }

    @GetMapping("registration/edit")
    public String registrationEdit(){
        return "registration/edit";
    }

    @GetMapping("registration/look")
    public String registrationLook(){
        return "registration/look";
    }


}
